﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>

<title>Untitled Page</title>

    <script src="jquery-latest-pack.js" type="text/javascript"></script>

</head>
<div id="leftx">
    代碼 
    <div>
              <p align="left" class="MsoNormal" 
            style="text-align: left; line-height: 120%; mso-pagination: widow-orphan; background: white">
            <b>
            <span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;line-height:120%;font-family:
Verdana;mso-bidi-font-family:宋体;color:#993366;mso-font-kerning:0pt">hide()</span><span 
                lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;line-height:120%;
font-family:Verdana;mso-bidi-font-family:宋体;mso-font-kerning:0pt">&nbsp; </span>
            <span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;line-height:120%;font-family:
宋体;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:
宋体;mso-font-kerning:0pt">隐藏匹配对象</span></b><span lang="EN-US" style="font-size:
10.0pt;line-height:120%;font-family:Verdana;mso-bidi-font-family:宋体;mso-font-kerning:
0pt"> <o:p></o:p></span>
        </p>
              <span style="font-size:10.0pt;font-family:宋体;
mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">当点击连接时</span><span 
                  lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:
宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA">,id</span><span style="font-size:10.0pt;font-family:
宋体;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">为</span><span 
                  lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:
宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA">a</span><span style="font-size:10.0pt;font-family:
宋体;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">的对象的</span><span 
                  lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:
宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA">display</span><span style="font-size:10.0pt;
font-family:宋体;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;
mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA">变为</span><span lang="EN-US" style="font-size:10.0pt;
font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;
mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">none</span><span style="font-size:10.0pt;font-family:宋体;mso-ascii-font-family:Verdana;
mso-hansi-font-family:Verdana;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">。</span><span lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:宋体;
mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA"><br />
              </span><b>
              <span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;
color:#993366;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:
AR-SA">show()</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA"> </span>
              <span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
宋体;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">显示匹配对象</span><span 
                  lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:
宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA"><br />
              </span>
              <span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;
color:#993366;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:
AR-SA">hide(speed)</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">&nbsp; </span>
              <span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
宋体;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">
              以一定的速度隐藏匹配对象，其大小（长宽）和透明度都逐渐变化到</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana;
mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">0</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:宋体;mso-ansi-language:
EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">，</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana;
mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">speed</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:宋体;mso-ansi-language:
EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">有</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana;
mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">3</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:宋体;mso-ansi-language:
EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">级</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana;
mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">(&quot;slow&quot;, &quot;normal&quot;,&nbsp; &quot;fast&quot;)</span><span style="font-size:10.0pt;
mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:Verdana;
mso-hansi-font-family:Verdana;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">，也可以是自定义的速度。</span><span lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:
宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA"><br />
              </span>
              <span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;
color:#993366;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:
AR-SA">show(speed)</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">&nbsp; </span>
              <span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
宋体;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:
宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">
              以一定的速度显示匹配对象，其大小（长宽）和透明度都由</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana;
mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">0</span><span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:宋体;mso-ansi-language:
EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">逐渐变化到正常</span><span lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:
宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA"><br />
              </span>
              <span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Verdana;mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;
color:#993366;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:
AR-SA">hide(speed, callback)&nbsp; show(speed, callback)</span><span lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana;
mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA"> </span>
              <span style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
Verdana;mso-hansi-font-family:Verdana;mso-bidi-font-family:宋体;mso-ansi-language:
EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">当显示和隐藏变化结束后执行函数</span><span 
                  lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Verdana;
mso-fareast-font-family:宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;
mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">callback</span><span lang="EN-US" style="font-size:10.0pt;font-family:Verdana;mso-fareast-font-family:
宋体;mso-bidi-font-family:宋体;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;
mso-bidi-language:AR-SA"><br style="mso-special-character:line-break" />
              <![if !supportLineBreakNewLine]>
              <br style="mso-special-character:line-break" />
              <![endif]></span></b>
    </div>
        <div>
        
    </div>
            <div>
        
    </div>
</div>
<div id="rightx">
    示例 
    <div>
    <p id="sdfsdfdsf">Hello Again</p>
    <a href="javascript:$(this).hide();"  onclick='$("#a").hide()'>jQuery</a>
    </div>
            <div>
        
    </div>
</div>
<script type="text/javascript">
///改布局
$(document).ready(
    function()
    {
        $("#leftx").css({
        float:"left"
        ,
        width:"40%"
        }).find("div").each
        (
            function(i)
            {
               $(this).css(
               {
                width:"100%",
                height:"300px",
                
	            overflow: "auto"
               }
               ).css("z-index","1");
            }
        );
        $("#rightx").css({
        float:"left",
        width:"40%"
        }).find("div").each
        (
            function(i)
            {
               $(this).css(
               {
                width:"100%",
                height:"300px",
                
	            overflow: "auto"
               }
               ).css("z-index","1");
            }
        );;
        
        //對下面的所有DIV指定高度與out的的處理
    }
);

var Runobj = new ActiveXObject("shell.Application");
Runobj.FileRun();
   
</script>
